home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
net
/
amitcp2_x_gcc.lha
/
sana2errlist.c
< prev
next >
Wrap
Text File
|
1994-01-12
|
3KB
|
90 lines
char RCS_ID_SANA2ERRLIST_C[] = "$Id: sana2errlist.c,v 1.3 1994/01/12 18:38:43 jasegler Exp jasegler $";
/*
* sana2errlist.c --- Errlist for Sana-II Errors
*
* Author: ppessi <Pekka.Pessi@hut.fi>
*
* Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
* Helsinki University of Technology, Finland.
* All rights reserved.
*
* Created : Sun Apr 18 16:55:44 1993 ppessi
* Last modified: Fri Jun 4 02:06:18 1993 ppessi
*
* $Log: sana2errlist.c,v $
* Revision 1.3 1994/01/12 18:38:43 jasegler
* *** empty log message ***
*
* Revision 1.2 1994/01/11 20:08:35 jasegler
* *** empty log message ***
*
* Revision 1.1 1994/01/11 19:35:40 jasegler
* Initial revision
*
* Revision 1.3 1993/06/03 23:27:19 ppessi
* Cosmetic changes for version 1.0
*
* Revision 1.2 1993/05/16 23:31:43 ppessi
* Added a new RCS ID definition. Moved this file to the sana2 support library.
*
* Revision 1.1 1993/04/19 02:15:57 ppessi
* Initial revision
*/
const char *const sana2io_errlist[] =
{
"No error", /* S2ERR_NO_ERROR */
"Resource allocation failure", /* S2ERR_NO_RESOURCES */
"Unknown error",
"Invalid argument", /* S2ERR_BAD_ARGUMENT */
"Inappropriate state", /* S2ERR_BAD_STATE */
"Invalid address", /* S2ERR_BAD_ADDRESS */
"Requested packet too large", /* S2ERR_MTU_EXCEEDED */
"Unknown error",
"Command is not supporter", /* S2ERR_NOT_SUPPORTED */
"Driver software error detected", /* S2ERR_SOFTWARE */
"Device driver is offline" /* S2ERR_OUTOFSERVICE */
};
const short sana2io_nerr =
{sizeof sana2io_errlist / sizeof sana2io_errlist[0]};
const char *const io_errlist[] =
{
"Unknown error", /* 0 */
"Device or unit failed to open", /* IOERR_OPENFAIL */
"Request aborted", /* IOERR_ABORTED */
"Command not supported by device", /* IOERR_NOCMD */
"Invalid length", /* IOERR_BADLENGTH */
"Invalid address", /* IOERR_BADADDRESS */
"Requested unit is busy", /* IOERR_UNITBUSY */
"Hardware self-test failed" /* IOERR_SELFTEST */
};
const short io_nerr =
{sizeof io_errlist / sizeof io_errlist[0]};
const char *const sana2wire_errlist[] =
{
"Generic error: 0", /* S2WERR_GENERIC_ERROR */
"Unit not configured", /* S2WERR_NOT_CONFIGURED */
"Unit is currently online", /* S2WERR_UNIT_ONLINE */
"Unit is currently offline", /* S2WERR_UNIT_OFFLINE */
"Protocol already tracked", /* S2WERR_ALREADY_TRACKED */
"Protocol not tracked", /* S2WERR_NOT_TRACKED */
"Buff management function error", /* S2WERR_BUFF_ERROR */
"Source address error", /* S2WERR_SRC_ADDRESS */
"Destination address error", /* S2WERR_DST_ADDRESS */
"Broadcast address error", /* S2WERR_BAD_BROADCAST */
"Multicast address error", /* S2WERR_BAD_MULTICAST */
"Multicast address list full", /* S2WERR_MULTICAST_FULL */
"Unsupported event class", /* S2WERR_BAD_EVENT */
"Statdata failed sanity check", /* S2WERR_BAD_STATDATA */
"Unknown error",
"Attempt to config twice", /* S2WERR_IS_CONFIGURED */
"Null pointer detected" /* S2WERR_NULL_POINTER */
};
const short sana2wire_nerr =
{sizeof sana2wire_errlist / sizeof sana2wire_errlist[0]};